package com.coolgor.axnut.entity.mdmis;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * 保单寄送信息实体类
 * @author CoolGor
 *
 */
public class DeliverInfo {
	// 记录ID
	@JsonProperty("record_id")
	private Long recordID;
	//投保单号insure_no  保单号policy_no
	@JsonProperty("insure_no")
	private String insureNo; 	
	// 第几次派送
	@JsonProperty("deliver_times")
	private Integer deliverTimes;
	// 收件人
	@JsonProperty("recipient")
	private String recipient;
	// 联系电话
	@JsonProperty("telephone")
	private String telephone;
	// 联系地址
	@JsonProperty("address")
	private String address;
	//快递公司
	@JsonProperty("deliver_company")
	private String deliverCompany;
	//寄出快递单号
	@JsonProperty("deliver_no")
	private String deliverNo;	
	//寄出时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("deliver_time")
	private Date deliverTime;	
	//返单快递单号
	@JsonProperty("return_no")
	private String returnNo;	
	//返单时间
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("return_time")
	private Date returnTime;	
	//快递信息（例如为什么要寄送、修改收件人地址或电话等）
	@JsonProperty("deliver_info")
	private String deliverInfo;
	//备注说明
	@JsonProperty("remark")
	private String remark;
	
	
	public Long getRecordID() {
		return recordID;
	}
	public void setRecordID(Long recordID) {
		this.recordID = recordID;
	}
	public String getInsureNo() {
		return insureNo;
	}
	public void setInsureNo(String insureNo) {
		this.insureNo = insureNo;
	}
	public Integer getDeliverTimes() {
		return deliverTimes;
	}
	public void setDeliverTimes(Integer deliverTimes) {
		this.deliverTimes = deliverTimes;
	}
	public String getRecipient() {
		return recipient;
	}
	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDeliverCompany() {
		return deliverCompany;
	}
	public void setDeliverCompany(String deliverCompany) {
		this.deliverCompany = deliverCompany;
	}
	public String getDeliverNo() {
		return deliverNo;
	}
	public void setDeliverNo(String deliverNo) {
		this.deliverNo = deliverNo;
	}
	public Date getDeliverTime() {
		return deliverTime;
	}
	public void setDeliverTime(Date deliverTime) {
		this.deliverTime = deliverTime;
	}
	public String getReturnNo() {
		return returnNo;
	}
	public void setReturnNo(String returnNo) {
		this.returnNo = returnNo;
	}
	public Date getReturnTime() {
		return returnTime;
	}
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}
	public String getDeliverInfo() {
		return deliverInfo;
	}
	public void setDeliverInfo(String deliverInfo) {
		this.deliverInfo = deliverInfo;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
	public String toString() {
		return "DeliverInfo [recordID=" + recordID + ", insureNo=" + insureNo + ", deliverTimes=" + deliverTimes
				+ ", recipient=" + recipient + ", telephone=" + telephone + ", address=" + address + ", deliverCompany="
				+ deliverCompany + ", deliverNo=" + deliverNo + ", deliverTime=" + deliverTime + ", returnNo="
				+ returnNo + ", returnTime=" + returnTime + ", deliverInfo=" + deliverInfo + ", remark=" + remark + "]";
	}	
	
}
